home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-11
/
fpclip.exe
/
FAX.PRG
next >
Wrap
Text File
|
1992-08-30
|
1KB
|
54 lines
local AFILeS[1], aFAXDATA[13], CCOVERTEXT,nID
cls
set date american
cCOVERTEXT := SPACE(60)
SENDER := SPACE(30)
EMPFAENGER:= SPACE(30)
FAXNUM := SPACE(20)
SENDDATE := DATE()
SENDTIME := TIME()
@ 2,0 to 23,79
@ 3,2 say "Covertext :" get CCOVERTEXT
@ 4,2 say "SENDER :" get SENDER
@ 5,2 say "FAXNUMMER :" get FAXNUM PICTURE "@9"
@ 6,2 say "EMPFÄNGER :" get EMPFAENGER
@ 7,2 say "SENDEDATUM :" get SENDDATE
@ 8,2 say "SENDEZEIT :" get SENDTIME
read
aFILES[1] := "F:\CIM\FAX\GERMANy.DOC"
aFAXDATA[1] := SENDER
aFAXDATA[2] := EMPFAENGER
aFAXDATA[3] := FAXNUM
aFAXDATA[4] := DTOC(SENDDATE)
aFAXDATA[5] := SENDTIME
aFAXDATA[6] := 1
aFAXDATA[7] := NIL
aFAXDATA[8] := 0
aFAXDATA[9] := NIL
aFAXDATA[10] := .t.
aFAXDATA[11] := NIL
aFAXDATA[12] := 0
aFAXDATA[13] := 0
IF ! FPINIT()
@ 24,3 say " Faxkarte antwortet nicht!" color "W+/R"
inkey(3)
@ 24,3 clear to 24,79
endif
NID := FPSUBMIT(aFAXDATA, AFILES)
if nID < 0
@ 24,3 say " Fax wurde nicht übersand!" color "W+/R"
@ 24,40 say "Fehlercode"
@ 24,50 say nID
inkey(3)
@ 24,3 clear to 24,79
endif